<template>
<uni-shadow-root class="partials-audio-simpleAudio"><template name="simpleAudio">
   <block>
   
      <view class="audio_block">
          <image :class="'audio_banner '+(playState?'audio_start':'')" mode="aspectFill" :src="jsonData.posterImg?jsonData.posterImg:'https://image1.sansancloud.com/xianhua/2019_12/12/16/33/7_29.jpg?x-oss-process=style/preview_120'"></image>
          <image v-if="playState" @click="playAudioFun" class="audio_icon" src="https://image1.sansancloud.com/xianhua/2020_7/6/17/0/2_174.jpg?x-oss-process=style/preview_120"></image>
          <image v-else class="audio_icon" @click="playAudioFun" src="https://image1.sansancloud.com/xianhua/2020_7/6/17/0/1_914.jpg?x-oss-process=style/preview_120"></image>
      </view>
      
      <view class="audio_progress_bar">
          <text class="audio_time">{{curTime.showStr}}</text>
          <view style="width: 520rpx;">
              <slider block-size="12" :activeColor="platformSetting.defaultColor" :block-color="platformSetting.defaultColor" :value="curTime.value" @change="sliderChangeFun" @changing="sliderChangeingFun" :max="allTime.value"></slider>
          </view>
          <text class="audio_time">{{allTime.showStr}}</text>
      </view>
  </block> 
  

</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/audio/simpleAudio'

Component({})

export default global['__wxComponents']['partials/audio/simpleAudio']
</script>
<style platform="mp-weixin">

</style>